package chapter8.pkg;

import chapter8.modifier.A;

public class Test {
    public static void main(String[] args) {
        A a = new A();
        //不同包下只能访问public修饰的属性或方法
        System.out.println(a.n1 );
    }
}
